<script setup>
import { RouterView } from 'vue-router'
import { useFullscreen } from '@vueuse/core'
import SvgIcon from '@/components/SvgIcon/index.vue'

const { toggle } = useFullscreen()
</script>

<template>
  <svg-icon icon-class="fullscreen" size="30" style="position: absolute; right: 10px; z-index: 10" @click="toggle"/>
  <RouterView/>
</template>
